{
{% if docker_registry_mirrors %}
    "registry-mirrors": {{ docker_registry_mirrors }},
{% endif %}
    "exec-opts": ["native.cgroupdriver={{ docker_cgroup_drive }}"],
    "log-driver": "json-file",
    "log-opts": {
        "max-size": "{{ docker_log_size }}"
    },
    "data-root": "{{ docker_data_root }}",
    "storage-driver": "{{ docker_storage_driver }}",
{% if docker_storage_driver == 'overlay2' %}
    "storage-opts": [
        "overlay2.override_kernel_check=true"
    ],
{% endif %}
    "insecure-registries": {{ docker_insecure_registry }}
}